package org.example.zxy.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class HotspotBlockHandler {

    public static String getHotspotBlockHandler(String type,
                                                String size,
                                                BlockException e) {
    System.out.println("热点限流，请稍后再试");
    return "热点限流，请稍后再试";
    }
}
